What is the meaning of the word "turn a trick"?

Definitions: